package com.weixing.mall.pay;

/**
 * @ClassName IPayment
 * @Description 支付接口
 * @Author Small
 * @Date 2019/11/29 17:22
 * @Version 1.0
 **/
public interface IPayment {

    /**
     * 方法描述: 支付
     * @Author Small
     * @param payParam
     * @Date 2019/12/3 17:38
     * @return com.weixing.mall.pay.PayResult
     */
    PayResult pay(PayParam payParam);

    /**
     * 方法描述:查询
     * @Author Small
     * @param outTradeNo
     * @Date 2019/12/3 17:38
     * @return com.weixing.mall.pay.QueryResult
     */
    QueryResult query(String outTradeNo);
}
